package com.example.shiroplusdemo.repository;

import com.example.shiroplusdemo.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-01-07
 **/
public interface UserRepository extends JpaRepository<User,Integer> {
    public User findByNickname(String nickname);
    
}

